package 国际象棋0710;

import javax.swing.*;
import java.awt.*;

public class MyJPane extends JPanel {
    Tool tool = new Tool();
    GameListener gl = null;
    @Override
    public void paint(Graphics g) {
        super.paint(g);
        gl.tool.drawChessPad(g);
        System.out.println("-------棋盘");
        gl.tool.drawChessList(gl.chessList, gl.g);
        System.out.println("--------棋子");
    }
}
